-- GENERATED SPELL FOR [Veridian Broodling] --


function spell0_17589(pUnit, Event) --@Poison Bolt,n/a--
pUnit:FullCastSpellOnTarget(21067,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17589', 12500, 1)
end

function Sorts_17589(pUnit, Event)
local choix_sorts_17589 = math.random(0, 0)
if choix_sorts_17589 == 0 then
pUnit:RegisterEvent('spell0_17589', 1, 1)
end
end

function mob17589_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17589', math.random(1500, 3000), 1)
end

function mob17589_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17589_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17589_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17589, 1, 'mob17589_Action')
RegisterUnitEvent(17589, 2, 'mob17589_Leave')
RegisterUnitEvent(17589, 3, 'mob17589_Kill')
RegisterUnitEvent(17589, 4, 'mob17589_Die')
